package guoanmaker.operator.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.OperatorPromotionNew;


public interface OperatorPromotionNewRepository extends JpaRepository<OperatorPromotionNew, String>, JpaSpecificationExecutor<OperatorPromotionNew> {
	
	 @Query("select r from OperatorPromotionNew r where r.citycode=:citycode")	
		public List<OperatorPromotionNew>  selectByOperatorPromotionNew(@Param("citycode") String citycode);

}
